package cn.com.surker.enums.production.indent;

import cn.com.surker.enums.ICodeDescEnum;

/**
 * 任务单枚举
 *
 * @author luotao
 * @date 2024/9/3
 */
public enum ProTypeEnum implements ICodeDescEnum {

	WAIT(0, "待供"),
	WORK(1, "正供"),
	END(2, "供毕"),
	//	生产部暂供
	PAUSE_PRO(3, "暂供"),

	;

	private final String description;

	private final Integer code;

	ProTypeEnum(Integer code, String description) {
		this.description = description;
		this.code = code;
	}


	@Override
	public String getDescription() {
		return description;
	}

	@Override
	public Integer getCode() {
		return code;
	}
}
